package com.doraro.platform.module.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doraro.platform.module.user.model.entity.SysJob;
import com.doraro.platform.module.user.model.vo.CompleteParam;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author doraro
 * @since 2019-06-18
 */
public interface ISysJobService extends IService<SysJob> {
    boolean createNewJob(String orderId, String engineerId);

    void accpeptJob(String engineerId, String orderId);

    SysJob unCompleteJob(String userId);

    Integer completeJob(String engineerId, CompleteParam param);

    Integer updateSolution(String engineerId, CompleteParam convert);
}
